﻿/*
	wp8libflac project
	© Alovchin, 2014
*/

#pragma once

INTEROP_NAMESPACE_BEGIN

/// <summary>
/// Describes FLAC sample.
/// </summary>
public ref class FlacSample sealed
{
internal:
	FlacSample(IBuffer^ buffer, double position)
	{
		this->m_buffer = buffer;
		this->m_position = position;
	}

public:
	property IBuffer^ Buffer
	{
		IBuffer^ get() { return this->m_buffer; }
	}

	property double Position
	{
		double get() { return this->m_position; }
	}

private:
	IBuffer^ m_buffer;
	double	 m_position;
};

INTEROP_NAMESPACE_END
